package com.bootdo.system.domain;

import java.util.Date;

import com.bootdo.common.annotation.Table;

@Table(code="tb_redbag", display = "红包")
public class RedBag {

	//红包名称
	private String bagName;
	//红包金额
	private Double bagMoney;
	//红包状态 (0未使用 1 已使用 -1 已过期)
	private Integer bagStatus;
	//所属用户
	private Long ownerId;
	
	//红包类型(1 新用户红包 2 转发红包)
	private Integer bagType;
	
	private Long id;
	
	private Date createTime;
	
	private Long createUserId;
	
	private Date updateTime;
	
	private Long updateUserId;

	private Date endTime;
	//红包的来源(新用户红包该值为空，分享红包值为分享记录的id)
	private Long shareId;
	//用户手机号
	private String userPhone;
	
	public RedBag() {
		
	}


	public String getBagName() {
		return bagName;
	}


	public void setBagName(String bagName) {
		this.bagName = bagName;
	}


	public Double getBagMoney() {
		return bagMoney;
	}


	public void setBagMoney(Double bagMoney) {
		this.bagMoney = bagMoney;
	}


	public Integer getBagStatus() {
		return bagStatus;
	}


	public void setBagStatus(Integer bagStatus) {
		this.bagStatus = bagStatus;
	}


	public Long getOwnerId() {
		return ownerId;
	}


	public void setOwnerId(Long ownerId) {
		this.ownerId = ownerId;
	}


	public Integer getBagType() {
		return bagType;
	}


	public void setBagType(Integer bagType) {
		this.bagType = bagType;
	}


	public Long getId() {
		return id;
	}


	public void setId(Long id) {
		this.id = id;
	}


	public Date getCreateTime() {
		return createTime;
	}


	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}


	public Long getCreateUserId() {
		return createUserId;
	}


	public void setCreateUserId(Long createUserId) {
		this.createUserId = createUserId;
	}


	public Date getUpdateTime() {
		return updateTime;
	}


	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}


	public Long getUpdateUserId() {
		return updateUserId;
	}


	public void setUpdateUserId(Long updateUserId) {
		this.updateUserId = updateUserId;
	}


	public Date getEndTime() {
		return endTime;
	}


	public void setEndTime(Date endTime) {
		this.endTime = endTime;
	}


	public Long getShareId() {
		return shareId;
	}


	public void setShareId(Long shareId) {
		this.shareId = shareId;
	}


	public String getUserPhone() {
		return userPhone;
	}


	public void setUserPhone(String userPhone) {
		this.userPhone = userPhone;
	}

	
}
